package com.fw.dao;

import com.fw.entity.Pig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author james
 * @since 2021-06-19
 */
public interface PigMapper extends BaseMapper<Pig> {
    public Integer allInPigNum(Integer pigkilluid);
    public Integer sellableNum(Integer pigkilluid);
    public Integer NoPassCheckNum(Integer pigkilluid);
    public Integer killedNum(Integer pigkilluid);
    public Integer checkingNum(Integer pigkilluid);
    public List<Pig> listSellablePig(Integer pigkilluid);
}
